/**
 * Created by mac on 2018/9/6.
 */


import * as actionTypes from './actionTypes';

const defaultValue = {
    defaultAcount: 'admin'
}

export default (state = defaultValue, action) => {
    let newState = JSON.parse(JSON.stringify(state));
    switch (action.type) {
        case actionTypes.LOGIN_ACTION:
            // newState.defaultAcount = action.va
            break;
        default:
            break;
    }
    return state;
};
